import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';

import { NgxAuthComponent } from './auth.component';
import { NgxAuthBlockComponent } from './auth-block/auth-block.component';
import { NgxLoginComponent } from './login/login.component';
import { NgxLogoutComponent } from './logout/logout.component';
import { NgxRegisterComponent } from './register/register.component';
import { NgxRequestPasswordComponent } from './request-password/request-password.component';
import { NgxResetPasswordComponent } from './reset-password/reset-password.component';
import { ThemeModule } from '../@theme/theme.module';
import { AuthRoutingModule } from './auth-routing.module';

import { AuthGuard } from './auth-guard';


@NgModule({
  imports: [
    CommonModule,
    HttpClientModule,
    ThemeModule,
    AuthRoutingModule
  ],
  declarations: [NgxAuthComponent,
    NgxAuthBlockComponent,
    NgxLoginComponent,
    NgxLogoutComponent,
    NgxRegisterComponent,
    NgxRequestPasswordComponent,
    NgxResetPasswordComponent],
  providers: [
    AuthGuard
  ]
})
export class AuthModule { }
